//
//  MyHeadView.h
//  HarmonizePub
//
//  Created by rzhy on 2016/11/15.
//  Copyright © 2016年 Zy. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MyHeadView;
@class User;

typedef void(^TouchImageEventBlock)();

@protocol MyHeadViewDelegate <NSObject>

- (void)headViewTouchLoginButtonEvent:(MyHeadView *)headView;

@end

@interface MyHeadView : UIView

@property (nonatomic, weak) id<MyHeadViewDelegate> delegate;
@property (nonatomic, strong) User *user;

+ (instancetype)headViewWithTouchImageEventBlock:(TouchImageEventBlock)touchImageEventBlock;
+ (CGFloat)height;

@end
